import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import {App} from "vue";


export const setUpElements = (app: App) => {
    app.use(ElementPlus);
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) { // element-icon
        app.component(key, component)
    }
}